/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2024-03-11 00:13:23
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2024-03-17 11:42:52
 */
import request from '@projectName/utils/request'

export function wxCreateqrcode(data) {
  return request({
    url: '/officialaccount/basics/qrcode',
    method: 'post',
    data
  })
}

export function initQrcodeList(data) {
  return request({
    url: '/officialaccount/qrcode/index',
    method: 'get',
    params: data
  })
}

export function getQrcodeView(id) {
  return request({
    url: `/officialaccount/qrcode/${id}`,
    method: 'get'
  })
}

export function itemQrcodeCreate(data) {
  return request({
    url: '/officialaccount/qrcode/create',
    method: 'post',
    data: data
  })
}

export function itemQrcodeUpdate(id, data) {
  return request({
    url: `/officialaccount/qrcode/update/${id}`,
    method: 'put',
    data: data
  })
}

export function itemQrcodeDelete(id) {
  return request({
    url: `/officialaccount/qrcode/delete/${id}`,
    method: 'delete'
  })
}

export function itemQrcodeDeletes(data) {
  return request({
    url: '/officialaccount/qrcode/deletes',
    method: 'delete',
    data: data
  })
}
